package algotradingfx.utils;

import java.util.Calendar;
import java.util.Date;

public class TimeUtils {
	public static long oneMinuteBeforeNow() {
		Calendar c = Calendar.getInstance();
		c.setTime(new Date());
		c.add(Calendar.MINUTE, -1);
		return c.getTime().getTime();
	}
}
